[INFO] cloning repository https://github.com/gsingh003/elevator-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gsingh003/elevator-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgsingh003%2Felevator-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgsingh003%2Felevator-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b7b125143e4aff00af6a978bb2dcce52b32be3c0
[INFO] fixing gsingh003/elevator-rs against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgsingh003%2Felevator-rs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/gsingh003/elevator-rs
[INFO] finished tweaking git repo https://github.com/gsingh003/elevator-rs
[INFO] tweaked toml for git repo https://github.com/gsingh003/elevator-rs written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/gsingh003/elevator-rs on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/gsingh003/elevator-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e61865d80602509e0e358ee08f99611b7e7a5a02318caf0059ab13bf2fbdc1ba
[INFO] running `Command { std: "docker" "start" "e61865d80602509e0e358ee08f99611b7e7a5a02318caf0059ab13bf2fbdc1ba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e61865d80602509e0e358ee08f99611b7e7a5a02318caf0059ab13bf2fbdc1ba" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e61865d80602509e0e358ee08f99611b7e7a5a02318caf0059ab13bf2fbdc1ba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e61865d80602509e0e358ee08f99611b7e7a5a02318caf0059ab13bf2fbdc1ba" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]     Checking elevator-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/main.rs from 2021 edition to 2024
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.18s
[INFO] [stderr] crater-edition-check: elevator-rs v0.1.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking elevator-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `direction`
[INFO] [stdout]    --> src/main.rs:120:26
[INFO] [stdout]     |
[INFO] [stdout] 120 |         let (next_floor, direction, should_stop) = {
[INFO] [stdout]     |                          ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `next`
[INFO] [stdout]    --> src/main.rs:132:38
[INFO] [stdout]     |
[INFO] [stdout] 132 |                         if let Some(&next) = state.stops.range(current_floor + 1..).next() {
[INFO] [stdout]     |                                      ^^^^ help: if this is intentional, prefix it with an underscore: `_next`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `next`
[INFO] [stdout]    --> src/main.rs:136:42
[INFO] [stdout]     |
[INFO] [stdout] 136 | ...                   if let Some(&next) = state.stops.range(..=current_floor).next_back() {
[INFO] [stdout]     |                                    ^^^^ help: if this is intentional, prefix it with an underscore: `_next`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `next`
[INFO] [stdout]    --> src/main.rs:142:38
[INFO] [stdout]     |
[INFO] [stdout] 142 |                         if let Some(&next) = state.stops.range(..current_floor).next_back() {
[INFO] [stdout]     |                                      ^^^^ help: if this is intentional, prefix it with an underscore: `_next`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `next`
[INFO] [stdout]    --> src/main.rs:146:42
[INFO] [stdout]     |
[INFO] [stdout] 146 | ...                   if let Some(&next) = state.stops.range(current_floor..).next() {
[INFO] [stdout]     |                                    ^^^^ help: if this is intentional, prefix it with an underscore: `_next`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `u`
[INFO] [stdout]    --> src/main.rs:165:36
[INFO] [stdout]     |
[INFO] [stdout] 165 | ...                   (Some(&u), None) => {
[INFO] [stdout]     |                              ^ help: if this is intentional, prefix it with an underscore: `_u`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d`
[INFO] [stdout]    --> src/main.rs:169:42
[INFO] [stdout]     |
[INFO] [stdout] 169 | ...                   (None, Some(&d)) => {
[INFO] [stdout]     |                                    ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Status` is never constructed
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | enum Command {
[INFO] [stdout]    |      ------- variant in this enum
[INFO] [stdout] 15 |     AddStop(i32),
[INFO] [stdout] 16 |     Status,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `direction`
[INFO] [stdout]    --> src/main.rs:120:26
[INFO] [stdout]     |
[INFO] [stdout] 120 |         let (next_floor, direction, should_stop) = {
[INFO] [stdout]     |                          ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `next`
[INFO] [stdout]    --> src/main.rs:132:38
[INFO] [stdout]     |
[INFO] [stdout] 132 |                         if let Some(&next) = state.stops.range(current_floor + 1..).next() {
[INFO] [stdout]     |                                      ^^^^ help: if this is intentional, prefix it with an underscore: `_next`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `next`
[INFO] [stdout]    --> src/main.rs:136:42
[INFO] [stdout]     |
[INFO] [stdout] 136 | ...                   if let Some(&next) = state.stops.range(..=current_floor).next_back() {
[INFO] [stdout]     |                                    ^^^^ help: if this is intentional, prefix it with an underscore: `_next`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `next`
[INFO] [stdout]    --> src/main.rs:142:38
[INFO] [stdout]     |
[INFO] [stdout] 142 |                         if let Some(&next) = state.stops.range(..current_floor).next_back() {
[INFO] [stdout]     |                                      ^^^^ help: if this is intentional, prefix it with an underscore: `_next`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `next`
[INFO] [stdout]    --> src/main.rs:146:42
[INFO] [stdout]     |
[INFO] [stdout] 146 | ...                   if let Some(&next) = state.stops.range(current_floor..).next() {
[INFO] [stdout]     |                                    ^^^^ help: if this is intentional, prefix it with an underscore: `_next`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `u`
[INFO] [stdout]    --> src/main.rs:165:36
[INFO] [stdout]     |
[INFO] [stdout] 165 | ...                   (Some(&u), None) => {
[INFO] [stdout]     |                              ^ help: if this is intentional, prefix it with an underscore: `_u`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d`
[INFO] [stdout]    --> src/main.rs:169:42
[INFO] [stdout]     |
[INFO] [stdout] 169 | ...                   (None, Some(&d)) => {
[INFO] [stdout]     |                                    ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Status` is never constructed
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | enum Command {
[INFO] [stdout]    |      ------- variant in this enum
[INFO] [stdout] 15 |     AddStop(i32),
[INFO] [stdout] 16 |     Status,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.31s
[INFO] [stderr] crater-edition-check all packages now at latest edition
[INFO] [stderr] crater-edition-check: all finished
[INFO] running `Command { std: "docker" "inspect" "e61865d80602509e0e358ee08f99611b7e7a5a02318caf0059ab13bf2fbdc1ba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e61865d80602509e0e358ee08f99611b7e7a5a02318caf0059ab13bf2fbdc1ba", kill_on_drop: false }`
[INFO] [stdout] e61865d80602509e0e358ee08f99611b7e7a5a02318caf0059ab13bf2fbdc1ba
